package com.weetop.akly.bean;

import java.util.List;

public class WorkLogResultBean {

    /**
     * info : {"id":5,"name":"班次E","working_time":"12:00:00","closing_time":"17:00:00","minutes_late":0,"leave_early":0,"absenteeism_late":0,"absenteeism_leave":0,"is_work":0,"week":5}
     * wifi : [{"name":"Aukonaye_Guest","mac":"00:01:6C:06:A6:29"},{"name":"weetop_06","mac":"00:01:6C:06:A6:29"}]
     * log : [{"id":1,"dates":"2020-05-08","times":"17:20:57","location_ad":"华彩国际","status":5,"refresh_count":1,"exception":"SUCCESS","end_date":"2020-05-08"},{"id":2,"dates":"2020-05-08","times":"17:22:32","location_ad":"华彩国际","status":5,"refresh_count":1,"exception":"SUCCESS","end_date":"2020-05-08"}]
     */

    private InfoBean info;
    private List<WifiBean> wifi;
    private List<LogBean> log;

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public List<WifiBean> getWifi() {
        return wifi;
    }

    public void setWifi(List<WifiBean> wifi) {
        this.wifi = wifi;
    }

    public List<LogBean> getLog() {
        return log;
    }

    public void setLog(List<LogBean> log) {
        this.log = log;
    }

    public static class InfoBean {
        /**
         * id : 5
         * name : 班次E
         * working_time : 12:00:00
         * closing_time : 17:00:00
         * minutes_late : 0
         * leave_early : 0
         * absenteeism_late : 0
         * absenteeism_leave : 0
         * is_work : 0
         * week : 5
         */

        private int id;
        private String name;
        private String working_time;
        private String closing_time;
        private int minutes_late;
        private int leave_early;
        private int absenteeism_late;
        private int absenteeism_leave;
        private int is_work;
        private int week;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getWorking_time() {
            return working_time;
        }

        public void setWorking_time(String working_time) {
            this.working_time = working_time;
        }

        public String getClosing_time() {
            return closing_time;
        }

        public void setClosing_time(String closing_time) {
            this.closing_time = closing_time;
        }

        public int getMinutes_late() {
            return minutes_late;
        }

        public void setMinutes_late(int minutes_late) {
            this.minutes_late = minutes_late;
        }

        public int getLeave_early() {
            return leave_early;
        }

        public void setLeave_early(int leave_early) {
            this.leave_early = leave_early;
        }

        public int getAbsenteeism_late() {
            return absenteeism_late;
        }

        public void setAbsenteeism_late(int absenteeism_late) {
            this.absenteeism_late = absenteeism_late;
        }

        public int getAbsenteeism_leave() {
            return absenteeism_leave;
        }

        public void setAbsenteeism_leave(int absenteeism_leave) {
            this.absenteeism_leave = absenteeism_leave;
        }

        public int getIs_work() {
            return is_work;
        }

        public void setIs_work(int is_work) {
            this.is_work = is_work;
        }

        public int getWeek() {
            return week;
        }

        public void setWeek(int week) {
            this.week = week;
        }

        @Override
        public String toString() {
            return "InfoBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", working_time='" + working_time + '\'' +
                    ", closing_time='" + closing_time + '\'' +
                    ", minutes_late=" + minutes_late +
                    ", leave_early=" + leave_early +
                    ", absenteeism_late=" + absenteeism_late +
                    ", absenteeism_leave=" + absenteeism_leave +
                    ", is_work=" + is_work +
                    ", week=" + week +
                    '}';
        }
    }

    public static class WifiBean {
        /**
         * name : Aukonaye_Guest
         * mac : 00:01:6C:06:A6:29
         */

        private String name;
        private String mac;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMac() {
            return mac;
        }

        public void setMac(String mac) {
            this.mac = mac;
        }

        @Override
        public String toString() {
            return "WifiBean{" +
                    "name='" + name + '\'' +
                    ", mac='" + mac + '\'' +
                    '}';
        }
    }

    public static class LogBean {
        /**
         * id : 1
         * dates : 2020-05-08
         * times : 17:20:57
         * location_ad : 华彩国际
         * status : 5
         * refresh_count : 1
         * exception : SUCCESS
         * end_date : 2020-05-08
         */

        private int id;
        private String dates;
        private String times;
        private String location_ad;
        private int status;
        private int refresh_count;
        private String exception;
        private String end_date;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDates() {
            return dates;
        }

        public void setDates(String dates) {
            this.dates = dates;
        }

        public String getTimes() {
            return times;
        }

        public void setTimes(String times) {
            this.times = times;
        }

        public String getLocation_ad() {
            return location_ad;
        }

        public void setLocation_ad(String location_ad) {
            this.location_ad = location_ad;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getRefresh_count() {
            return refresh_count;
        }

        public void setRefresh_count(int refresh_count) {
            this.refresh_count = refresh_count;
        }

        public String getException() {
            return exception;
        }

        public void setException(String exception) {
            this.exception = exception;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        @Override
        public String toString() {
            return "LogBean{" +
                    "id=" + id +
                    ", dates='" + dates + '\'' +
                    ", times='" + times + '\'' +
                    ", location_ad='" + location_ad + '\'' +
                    ", status=" + status +
                    ", refresh_count=" + refresh_count +
                    ", exception='" + exception + '\'' +
                    ", end_date='" + end_date + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "WorkLogResultBean{" +
                "info=" + info +
                ", wifi=" + wifi +
                ", log=" + log +
                '}';
    }
}
